// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './views/App'
import router from './router'
import store from './store/store'

import './icons/index.js'
import './components/widget/dialog.js'

import jquery from 'jquery'

window.jquery = window.$ = jquery

import _ from 'lodash'

Vue.prototype._ = _

//echart引入三个包
import echarts from 'echarts';
Vue.prototype.$echarts = echarts

import mapBaseF from "./script/map-base.js"

import 'cesium/Widgets/widgets.css'
let Cesium = require('cesium/Cesium');    //cesium1.6版本以后导入的方式

// import "leaflet/dist/leaflet.css";
// import L from "leaflet";

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);

// window.currentFrameName = 'cesium';
// window.currentFrameName = 'leaflet';

window.Cesium = Cesium;
// window.L = L;

Vue.config.productionTip = false;

window.mapBaseF = mapBaseF;//第一次写的cesium地图工具集

/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  components: {App},
  template: '<App/>'
});

